import { createApiDictionary } from '@donnu-prod-practice/api';

import { environment } from '../../environments/environment';

export const api = createApiDictionary(environment.BaseUrlAPI);

// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
if (!environment.production) window.api = api;
